PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Spiral Multiple / LuxXx - chillin wid my homiez i.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.929 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=1.766 |
| 33 | fZoomExponent=1.00016 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00001 |
| 40 | dy=0.00001 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.100 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=20.160 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.400 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.400 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=ma=.5; |
| 89 | wave_0_init2=my=.5; |
| 90 | wave_0_init3=md=0; //direction 0 1 2 3 |
| 91 | wave_0_per_point1=oldmd=md; |
| 92 | wave_0_per_point2=md=(md+rand(4))%4; |
| 93 | wave_0_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 94 | wave_0_per_point4= |
| 95 | wave_0_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 96 | wave_0_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 97 | wave_0_per_point7=my=my+(equal(md,2)*.002*treb); |
| 98 | wave_0_per_point8=my=my-(equal(md,3)*.002*treb); |
| 99 | wave_0_per_point9= |
| 100 | wave_0_per_point10=mx=if(above(mx,.9),.5,mx); |
| 101 | wave_0_per_point11=mx=if(below(mx,.1),.5,mx); |
| 102 | wave_0_per_point12=my=if(above(my,.9),.5,my); |
| 103 | wave_0_per_point13=my=if(below(my,.1),.5,my); |
| 104 | wave_0_per_point14= |
| 105 | wave_0_per_point15=x=mx; |
| 106 | wave_0_per_point16=y=my; |
| 107 | wave_0_per_point17=a=bass*.1; |
| 108 | wave_0_per_point18= |
| 109 | wave_0_per_point19=r=bass*.5; |
| 110 | wavecode_1_enabled=1 |
| 111 | wavecode_1_samples=512 |
| 112 | wavecode_1_sep=0 |
| 113 | wavecode_1_bSpectrum=0 |
| 114 | wavecode_1_bUseDots=1 |
| 115 | wavecode_1_bDrawThick=1 |
| 116 | wavecode_1_bAdditive=1 |
| 117 | wavecode_1_scaling=1.00000 |
| 118 | wavecode_1_smoothing=0.50000 |
| 119 | wavecode_1_r=1.000 |
| 120 | wavecode_1_g=1.000 |
| 121 | wavecode_1_b=1.000 |
| 122 | wavecode_1_a=1.000 |
| 123 | wave_1_init1=mx=.5; |
| 124 | wave_1_init2=my=.5; |
| 125 | wave_1_init3=md=1; |
| 126 | wave_1_per_point1=oldmd=md; |
| 127 | wave_1_per_point2=md=(md+rand(4))%4; |
| 128 | wave_1_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 129 | wave_1_per_point4= |
| 130 | wave_1_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 131 | wave_1_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 132 | wave_1_per_point7=my=my+(equal(md,2)*.002*treb); |
| 133 | wave_1_per_point8=my=my-(equal(md,3)*.002*treb); |
| 134 | wave_1_per_point9= |
| 135 | wave_1_per_point10=mx=if(above(mx,.9),.5,mx); |
| 136 | wave_1_per_point11=mx=if(below(mx,.1),.5,mx); |
| 137 | wave_1_per_point12=my=if(above(my,.9),.5,my); |
| 138 | wave_1_per_point13=my=if(below(my,.1),.5,my); |
| 139 | wave_1_per_point14= |
| 140 | wave_1_per_point15=x=mx; |
| 141 | wave_1_per_point16=y=my; |
| 142 | wave_1_per_point17=a=bass*.1; |
| 143 | wave_1_per_point18= |
| 144 | wave_1_per_point19=g=treb*.5; |
| 145 | wavecode_2_enabled=1 |
| 146 | wavecode_2_samples=512 |
| 147 | wavecode_2_sep=0 |
| 148 | wavecode_2_bSpectrum=0 |
| 149 | wavecode_2_bUseDots=1 |
| 150 | wavecode_2_bDrawThick=1 |
| 151 | wavecode_2_bAdditive=1 |
| 152 | wavecode_2_scaling=1.00000 |
| 153 | wavecode_2_smoothing=0.50000 |
| 154 | wavecode_2_r=1.000 |
| 155 | wavecode_2_g=1.000 |
| 156 | wavecode_2_b=1.000 |
| 157 | wavecode_2_a=1.000 |
| 158 | wave_2_init1=mx=.5; |
| 159 | wave_2_init2=my=.5; |
| 160 | wave_2_init3=md=2; |
| 161 | wave_2_per_point1=oldmd=md; |
| 162 | wave_2_per_point2=md=(md+rand(4))%4; |
| 163 | wave_2_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 164 | wave_2_per_point4= |
| 165 | wave_2_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 166 | wave_2_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 167 | wave_2_per_point7=my=my+(equal(md,2)*.002*treb); |
| 168 | wave_2_per_point8=my=my-(equal(md,3)*.002*treb); |
| 169 | wave_2_per_point9= |
| 170 | wave_2_per_point10=mx=if(above(mx,.9),.5,mx); |
| 171 | wave_2_per_point11=mx=if(below(mx,.1),.5,mx); |
| 172 | wave_2_per_point12=my=if(above(my,.9),.5,my); |
| 173 | wave_2_per_point13=my=if(below(my,.1),.5,my); |
| 174 | wave_2_per_point14= |
| 175 | wave_2_per_point15=x=mx; |
| 176 | wave_2_per_point16=y=my; |
| 177 | wave_2_per_point17=a=bass*.1; |
| 178 | wavecode_3_enabled=1 |
| 179 | wavecode_3_samples=512 |
| 180 | wavecode_3_sep=0 |
| 181 | wavecode_3_bSpectrum=0 |
| 182 | wavecode_3_bUseDots=1 |
| 183 | wavecode_3_bDrawThick=1 |
| 184 | wavecode_3_bAdditive=1 |
| 185 | wavecode_3_scaling=1.00000 |
| 186 | wavecode_3_smoothing=0.50000 |
| 187 | wavecode_3_r=1.000 |
| 188 | wavecode_3_g=1.000 |
| 189 | wavecode_3_b=1.000 |
| 190 | wavecode_3_a=1.000 |
| 191 | wave_3_init1=mx=.5; |
| 192 | wave_3_init2=my=.4; |
| 193 | wave_3_init3=md=3; |
| 194 | wave_3_per_point1=oldmd=md; |
| 195 | wave_3_per_point2=md=(md+rand(4))%4; |
| 196 | wave_3_per_point3=md=if(equal(md,oldmd),(md+1)%4,md); |
| 197 | wave_3_per_point4= |
| 198 | wave_3_per_point5=mx=mx+(equal(md,0)*.002*bass); |
| 199 | wave_3_per_point6=mx=mx-(equal(md,1)*.002*bass); |
| 200 | wave_3_per_point7=my=my+(equal(md,2)*.002*treb); |
| 201 | wave_3_per_point8=my=my-(equal(md,3)*.002*treb); |
| 202 | wave_3_per_point9= |
| 203 | wave_3_per_point10=mx=if(above(mx,.9),.5,mx); |
| 204 | wave_3_per_point11=mx=if(below(mx,.1),.5,mx); |
| 205 | wave_3_per_point12=my=if(above(my,.9),.5,my); |
| 206 | wave_3_per_point13=my=if(below(my,.1),.5,my); |
| 207 | wave_3_per_point14= |
| 208 | wave_3_per_point15=x=mx; |
| 209 | wave_3_per_point16=y=my; |
| 210 | wave_3_per_point17=a=bass*.1; |
| 211 | shapecode_0_enabled=0 |
| 212 | shapecode_0_sides=4 |
| 213 | shapecode_0_additive=0 |
| 214 | shapecode_0_thickOutline=0 |
| 215 | shapecode_0_textured=1 |
| 216 | shapecode_0_num_inst=1 |
| 217 | shapecode_0_x=0.500 |
| 218 | shapecode_0_y=0.500 |
| 219 | shapecode_0_rad=1.20321 |
| 220 | shapecode_0_ang=0.00000 |
| 221 | shapecode_0_tex_ang=0.00000 |
| 222 | shapecode_0_tex_zoom=1.22019 |
| 223 | shapecode_0_r=1.000 |
| 224 | shapecode_0_g=0.000 |
| 225 | shapecode_0_b=0.000 |
| 226 | shapecode_0_a=0.000 |
| 227 | shapecode_0_r2=0.000 |
| 228 | shapecode_0_g2=1.000 |
| 229 | shapecode_0_b2=0.000 |
| 230 | shapecode_0_a2=0.500 |
| 231 | shapecode_0_border_r=1.000 |
| 232 | shapecode_0_border_g=1.000 |
| 233 | shapecode_0_border_b=1.000 |
| 234 | shapecode_0_border_a=0.000 |
| 235 | shapecode_1_enabled=0 |
| 236 | shapecode_1_sides=4 |
| 237 | shapecode_1_additive=0 |
| 238 | shapecode_1_thickOutline=0 |
| 239 | shapecode_1_textured=0 |
| 240 | shapecode_1_num_inst=1 |
| 241 | shapecode_1_x=0.500 |
| 242 | shapecode_1_y=0.500 |
| 243 | shapecode_1_rad=0.10000 |
| 244 | shapecode_1_ang=0.00000 |
| 245 | shapecode_1_tex_ang=0.00000 |
| 246 | shapecode_1_tex_zoom=1.00000 |
| 247 | shapecode_1_r=1.000 |
| 248 | shapecode_1_g=0.000 |
| 249 | shapecode_1_b=0.000 |
| 250 | shapecode_1_a=1.000 |
| 251 | shapecode_1_r2=0.000 |
| 252 | shapecode_1_g2=1.000 |
| 253 | shapecode_1_b2=0.000 |
| 254 | shapecode_1_a2=0.000 |
| 255 | shapecode_1_border_r=1.000 |
| 256 | shapecode_1_border_g=1.000 |
| 257 | shapecode_1_border_b=1.000 |
| 258 | shapecode_1_border_a=0.100 |
| 259 | shapecode_2_enabled=0 |
| 260 | shapecode_2_sides=4 |
| 261 | shapecode_2_additive=0 |
| 262 | shapecode_2_thickOutline=0 |
| 263 | shapecode_2_textured=0 |
| 264 | shapecode_2_num_inst=1 |
| 265 | shapecode_2_x=0.500 |
| 266 | shapecode_2_y=0.500 |
| 267 | shapecode_2_rad=0.10000 |
| 268 | shapecode_2_ang=0.00000 |
| 269 | shapecode_2_tex_ang=0.00000 |
| 270 | shapecode_2_tex_zoom=1.00000 |
| 271 | shapecode_2_r=1.000 |
| 272 | shapecode_2_g=0.000 |
| 273 | shapecode_2_b=0.000 |
| 274 | shapecode_2_a=1.000 |
| 275 | shapecode_2_r2=0.000 |
| 276 | shapecode_2_g2=1.000 |
| 277 | shapecode_2_b2=0.000 |
| 278 | shapecode_2_a2=0.000 |
| 279 | shapecode_2_border_r=1.000 |
| 280 | shapecode_2_border_g=1.000 |
| 281 | shapecode_2_border_b=1.000 |
| 282 | shapecode_2_border_a=0.100 |
| 283 | shapecode_3_enabled=0 |
| 284 | shapecode_3_sides=4 |
| 285 | shapecode_3_additive=0 |
| 286 | shapecode_3_thickOutline=0 |
| 287 | shapecode_3_textured=0 |
| 288 | shapecode_3_num_inst=1 |
| 289 | shapecode_3_x=0.500 |
| 290 | shapecode_3_y=0.500 |
| 291 | shapecode_3_rad=0.10000 |
| 292 | shapecode_3_ang=0.00000 |
| 293 | shapecode_3_tex_ang=0.00000 |
| 294 | shapecode_3_tex_zoom=1.00000 |
| 295 | shapecode_3_r=1.000 |
| 296 | shapecode_3_g=0.000 |
| 297 | shapecode_3_b=0.000 |
| 298 | shapecode_3_a=1.000 |
| 299 | shapecode_3_r2=0.000 |
| 300 | shapecode_3_g2=1.000 |
| 301 | shapecode_3_b2=0.000 |
| 302 | shapecode_3_a2=0.000 |
| 303 | shapecode_3_border_r=1.000 |
| 304 | shapecode_3_border_g=1.000 |
| 305 | shapecode_3_border_b=1.000 |
| 306 | shapecode_3_border_a=0.100 |
| 307 | per_frame_1=wave_r = wave_r + 0.35*sin(1.14*time) + 0.16*sin(1.5*time); |
| 308 | per_frame_2=wave_g = wave_g + 0.36*sin(1.27*time) + 0.15*sin(1.11*time); |
| 309 | per_frame_3=wave_b = wave_b + 0.37*sin(1.284*time) + 0.15*sin(1.3*time); |
| 310 | per_frame_4=warp = 0; |
| 311 | per_frame_5= |
| 312 | per_frame_6=ob_r = wave_g; |
| 313 | per_frame_7=ob_b = wave_r; |
| 314 | per_frame_8=ob_g = wave_b; |
| 315 | per_frame_9=ib_r = wave_r; |
| 316 | per_frame_10=ib_b = wave_g; |
| 317 | per_frame_11=ib_g = wave_r; |
| 318 | per_frame_12= |
| 319 | per_frame_13=//before inversion |
| 320 | per_frame_14=scale = 4; |
| 321 | per_frame_15=angle = time*.2; |
| 322 | per_frame_16=translation_x = 0; |
| 323 | per_frame_17=translation_y = 0.2; |
| 324 | per_frame_18= |
| 325 | per_frame_19=//complex inverted |
| 326 | per_frame_20=iscale = 6; |
| 327 | per_frame_21=iangle = sin(time*0.1337)*0.3; |
| 328 | per_frame_22=itranslation_u = 0; |
| 329 | per_frame_23=itranslation_v = 0.2; |
| 330 | per_frame_24= |
| 331 | per_frame_25= |
| 332 | per_frame_26=// the m�bius transformation |
| 333 | per_frame_27=// z -> (az+b)/(cz-d); where a,b,c,d are complex numbers and z will be the uv-vector |
| 334 | per_frame_28=// (az+b)/(cz-d) = a/c + mu/(cz+d), with mu = (bc-ad)/c |
| 335 | per_frame_29=// so a/c and mu can be calculated outside of the shader |
| 336 | per_frame_30= |
| 337 | per_frame_31=a_r = cos(angle)*scale; |
| 338 | per_frame_32=a_i = sin(angle)*scale; |
| 339 | per_frame_33=b_r = translation_x; |
| 340 | per_frame_34=b_i = translation_y; |
| 341 | per_frame_35= |
| 342 | per_frame_36=c_r = -cos(iangle)*iscale; |
| 343 | per_frame_37=c_i = -sin(iangle)*iscale; |
| 344 | per_frame_38=d_r = itranslation_u; |
| 345 | per_frame_39=d_i = itranslation_v; |
| 346 | per_frame_40= |
| 347 | per_frame_41=// c^(-1) |
| 348 | per_frame_42=c_inv_r = c_r/(c_r*c_r+c_i*c_i); |
| 349 | per_frame_43=c_inv_i = c_i/(c_r*c_r+c_i*c_i); |
| 350 | per_frame_44= |
| 351 | per_frame_45=// a*c^(-1) |
| 352 | per_frame_46=ac_r = (a_r*c_inv_r - a_i*c_inv_i); |
| 353 | per_frame_47=ac_i = (a_r*c_inv_i - a_i*c_inv_r); |
| 354 | per_frame_48= |
| 355 | per_frame_49=// (bc-ad) |
| 356 | per_frame_50=bcad_r = (b_r*c_r - b_i*c_i)-(a_r*d_r-a_i*d_i); |
| 357 | per_frame_51=bcad_i = (b_r*c_i - b_i*c_r)-(a_r*d_i-a_i*d_r); |
| 358 | per_frame_52= |
| 359 | per_frame_53=// mu*c^(-1) |
| 360 | per_frame_54=mu_r = bcad_r*c_inv_r - bcad_i*c_inv_i; |
| 361 | per_frame_55=mu_i = bcad_r*c_inv_i - bcad_i*c_inv_r; |
| 362 | per_frame_56= |
| 363 | per_frame_57=q1 = ac_r; |
| 364 | per_frame_58=q2 = ac_i; |
| 365 | per_frame_59=q3 = mu_r; |
| 366 | per_frame_60=q4 = mu_i; |
| 367 | per_frame_61= |
| 368 | per_frame_62=q5 = c_r; |
| 369 | per_frame_63=q6 = c_i; |
| 370 | per_frame_64=q7 = d_r; |
| 371 | per_frame_65=q8 = d_i; |
| 372 | per_pixel_1=dy = dy + if(below(abs(q1-x),0.01),if(below(y,q2),max(0.02-abs(q1-x),0),0.001),0.001); |
| 373 | per_pixel_2=cx = 8.13988973*sqr(warp - x); |
| 374 | per_pixel_3=cx=if(below(cx,-1.0), -1.0, cx); |
| 375 | per_pixel_4=cx=if(above(cx,2.0), 2.0, cx); |
| 376 | per_pixel_5=dy=if(below(dy,-1), -1, dy); |
| 377 | per_pixel_6=dy=if(above(dy,1.0), 1.0, dy); |
| 378 | per_pixel_7=num = 8; |
| 379 | per_pixel_8=pi = 3.141592654; |
| 380 | per_pixel_9=radi = (y-.5)*.75; |
| 381 | per_pixel_10=radi = (y-.5); |
| 382 | per_pixel_11=radi = pow(radi*radi + (x-.5)*(x-.5),.5); |
| 383 | per_pixel_12= |
| 384 | per_pixel_13=an = ang + pi + time; |
| 385 | per_pixel_14=an = an - pi*2*int(an/(pi*2)); |
| 386 | per_pixel_15= |
| 387 | per_pixel_16=mod = .1; |
| 388 | per_pixel_17= |
| 389 | per_pixel_18=seg = ang + pi; |
| 390 | per_pixel_19=seg = seg/(pi*2)*num; |
| 391 | per_pixel_20=seg = int(seg); |
| 392 | per_pixel_21=seg = seg - equal(seg,num); |
| 393 | per_pixel_22= |
| 394 | per_pixel_23=anga = (ang + pi) - (pi*2/num)*seg; |
| 395 | per_pixel_24=anga = if(equal(seg%2,0),(pi*2/num) - anga,anga); |
| 396 | per_pixel_25=//anga = anga + pi/6; // num = 6 |
| 397 | per_pixel_26=anga = anga + pi/4; // num = 8 |
| 398 | per_pixel_27=//anga = anga + .85; // num = 10 |
| 399 | per_pixel_28= |
| 400 | per_pixel_29= |
| 401 | per_pixel_30=ox = .5 - radi*sin(anga); |
| 402 | per_pixel_31=oy = .5 + radi*cos(anga); |
| 403 | per_pixel_32= |
| 404 | per_pixel_33=//rot = if(equal(seg,0),rot,0); |
| 405 | per_pixel_34= |
| 406 | per_pixel_35=dx = equal(seg,3)*(x-ox); |
| 407 | per_pixel_36=dy = equal(seg,3)*(y-oy); |
| 408 | per_pixel_37= |
| 409 | per_pixel_38=dx = above(seg,0)*(x-ox); |
| 410 | per_pixel_39=dy = above(seg,0)*(y-oy); |
| 411 | per_pixel_40= |
| 412 | per_pixel_41=//dx = equal(seg,1)*(x - .5)*2; |
| 413 | per_pixel_42=dx=dx+0.003*sin((y*2-1)*64)+0.001*sin((y*2-1)*96); |
| 414 | per_pixel_43=dy=dy+0.004*cos((x*2-1)*64)+0.002*cos((x*2-1)*96); |
| 415 | per_pixel_44= |
| 416 | warp_1=`shader_body |
| 417 | warp_2=`{ |
| 418 | warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with |
| 419 | warp_4=` float1 d = 0.005; |
| 420 | warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 421 | warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 422 | warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 423 | warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 424 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.01 + float2(dxb,dyb)*0.003; |
| 425 | warp_10=` |
| 426 | warp_11=` |
| 427 | warp_12=` |
| 428 | warp_13=` float2 v = 0.01; |
| 429 | warp_14=` ret.x = tex2D( sampler_fw_main, my_uv -floor(my_uv)*0).x; |
| 430 | warp_15=` |
| 431 | warp_16=` |
| 432 | warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1; |
| 433 | warp_18=` ret.x += 0.004; |
| 434 | warp_19=` |
| 435 | warp_20=` |
| 436 | warp_21=`//-------------------------------- |
| 437 | warp_22=` |
| 438 | warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y); |
| 439 | warp_24=` |
| 440 | warp_25=` |
| 441 | warp_26=` |
| 442 | warp_27=` v = 0.01; |
| 443 | warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z; |
| 444 | warp_29=` |
| 445 | warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale); |
| 446 | warp_31=` ret.z *= 0.8; |
| 447 | warp_32=` ret.z += 0.004; |
| 448 | warp_33=` |
| 449 | warp_34=` |
| 450 | warp_35=` |
| 451 | warp_36=`//-------------------------------- |
| 452 | warp_37=` |
| 453 | warp_38=` d = 0.01; |
| 454 | warp_39=` my_uv = float2(-dy,dx)*0.045; |
| 455 | warp_40=` |
| 456 | warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x; |
| 457 | warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y; |
| 458 | warp_43=` my_uv += uv - float2(dx,dy)*0.03; |
| 459 | warp_44=` |
| 460 | warp_45=` |
| 461 | warp_46=` |
| 462 | warp_47=` v = 0.01; |
| 463 | warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y; |
| 464 | warp_49=` |
| 465 | warp_50=` |
| 466 | warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.2 + 0.0; |
| 467 | warp_52=` ret = lerp(ret, tex2D(sampler_main,uv_orig), 0.2); //motionblur |
| 468 | warp_53=` |
| 469 | warp_54=`//ret = 0; |
| 470 | warp_55=`} |
| 471 | comp_1=`shader_body |
| 472 | comp_2=`{ |
| 473 | comp_3=` ret = tex2D(sampler_main, uv).xyz; |
| 474 | comp_4=` ret += saturate(GetBlur2(uv)*2.8 - 0.13)*float3(1.4,0.3,1.3); |
| 475 | comp_5=`} |
| 476 | comp_6=` |
| 477 | comp_7=` |